Skip to content

Remove '.com' from gogo repository directory structure to avoid python proto module issues#2174

Closed
ddelnano wants to merge 2 commits intopixie-io:mainfrom
ddelnano:ddelnano/fix-gogo-for-python-applications
Closed

Remove '.com' from gogo repository directory structure to avoid python proto module issues#2174
ddelnano wants to merge 2 commits intopixie-io:mainfrom
ddelnano:ddelnano/fix-gogo-for-python-applications

Conversation

@ddelnano
Copy link
Copy Markdown
Member

@ddelnano ddelnano commented Apr 16, 2025

Summary: Remove '.com' from gogo repository directory structure to avoid python proto module issues

This prerequisite work unblocks upgrading the Python pxapi's dependencies. pxapi currently uses a deprecated pip package (gogo-python) that doesn't support proto v3, which prevents upgrading its protobuf dependency and expanding its python version support beyond python 3.11.

This change prepares for the removal of gogo-python by ensuring the gogo bazel repositories available in our repo (our internal one and rules_go's) generate valid python code. The current repository naming (github.com/gogo/...) generates python modules that have github.com in its name. This is invalid since .'s are used for specifying module names. The fix is to rename the gogo repositories to use github/com instead of github.com.

Relevant Issues: #2140

Type of change: /kind bugfix

Test Plan: Existing tests should pass

… issues

Signed-off-by: Dom Del Nano <ddelnano@gmail.com>
Signed-off-by: Dom Del Nano <ddelnano@gmail.com>
@ddelnano ddelnano requested review from a team as code owners April 16, 2025 16:59
@ddelnano ddelnano changed the title Remove '.com' from gogo repository names to avoid python proto module issues Remove '.com' from gogo repository directory structure to avoid python proto module issues Apr 16, 2025
@ddelnano ddelnano closed this Apr 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant